package com.hjm.project.terminal.manufacturer.service;

import com.hjm.project.terminal.manufacturer.domain.Manufacturer;

import java.util.List;
import java.util.Map;

/**
 * 厂商Service接口
 * 
 * @author LOVE
 * @date 2020-11-26
 */
public interface IManufacturerService 
{
    /**
     * 查询厂商
     * 
     * @param manuNum 厂商ID
     * @return 厂商
     */
    public Manufacturer selectManufacturerById(Long manuNum);

    /**
     * 查询厂商列表
     * 
     * @param manufacturer 厂商
     * @return 厂商集合
     */
    public List<Manufacturer> selectManufacturerList(Manufacturer manufacturer);

    /**
     * 新增厂商
     * 
     * @param manufacturer 厂商
     * @return 结果
     */
    public Map<String,String> insertManufacturer(Manufacturer manufacturer) throws Exception;

    /**
     * 修改厂商
     * 
     * @param manufacturer 厂商
     * @return 结果
     */
    public Map<String,String> updateManufacturer(Manufacturer manufacturer);

    /**
     * 批量删除厂商
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteManufacturerByIds(String ids);

    /**
     * 删除厂商信息
     * 
     * @param manuNum 厂商ID
     * @return 结果
     */
    public int deleteManufacturerById(Long manuNum);


    public List<Map> getAll(Map map);

    List<Map> getManufacturer() throws Exception;

    List<Map> getManufacturer(String loginAgentNum) throws Exception;


    Map<String,Object> getActManufacturer(Map<String,Object> map)throws Exception;


    List<Map<String,Object>> getTerminalModel(Map<String,Object> map) throws Exception;




}
